package com.start.querydsl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by IntelliJ IDEA.
 * User: wk
 * Date: 2017-07-18 上午11:37
 */
@SpringBootApplication(scanBasePackages = "com.start.querydsl")
@EnableTransactionManagement
@EnableJpaRepositories(basePackages = "com.start.querydsl.dao")
public class AppApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(AppApplication.class, args);
    }

}
